package com.example.bzh.gamecat.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


/**
 * Created by ${kissfoot} on 2016/8/4.
 */
public class BaseFragment extends Fragment {
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(getLayoutId(), container, false);
        initView();
        initData();
        return view;
    }


    public int getLayoutId() {
        return 0;
    }


    public void initView() {

    }


    public void initData() {

    }
}
